﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Fantasy_Fall_Level_Editor
{
    public partial class LevelToolWindow : Form
    {
        public event EventHandler Button1LevelUpdate;
        public event EventHandler NumUpDown3Change;
        public event EventHandler NumUpDown4Change;
        public event EventHandler NumUpDown5Change;
        public event EventHandler NumUpDown6Change;
        public LevelToolWindow()
        {
            InitializeComponent();
        }


         public decimal LevelToolWindow_NumericUpDown1_Value
        {
            get { return numericUpDown1.Value; }
            set { numericUpDown1.Value = value; }
        }

         public decimal LevelToolWindow_NumericUpDown2_Value
         {
             get { return numericUpDown2.Value; }
             set { numericUpDown2.Value = value; }
         }

         public decimal LevelToolWindow_NumericUpDown3_Value
         {
             get { return numericUpDown3.Value; }
             set { numericUpDown3.Value = value; }
         }

         public decimal LevelToolWindow_NumericUpDown4_Value
         {
             get { return numericUpDown4.Value; }
             set { numericUpDown4.Value = value; }
         }

         public decimal LevelToolWindow_NumericUpDown5_Value
         {
             get { return numericUpDown5.Value; }
             set { numericUpDown5.Value = value; }
         }

         public decimal LevelToolWindow_NumericUpDown6_Value
         {
             get { return numericUpDown6.Value; }
             set { numericUpDown6.Value = value; }
         }

         private void button1_Click(object sender, EventArgs e)
         {
             if (Button1LevelUpdate != null)
             {
                 Button1LevelUpdate(this, EventArgs.Empty);
             }
         }

         private void numericUpDown3_ValueChanged(object sender, EventArgs e)
         {
             if (NumUpDown3Change != null)
             {
                 NumUpDown3Change(this, EventArgs.Empty);
             }
         }

         private void numericUpDown4_ValueChanged(object sender, EventArgs e)
         {
             if (NumUpDown4Change != null)
             {
                 NumUpDown4Change(this, EventArgs.Empty);
             }
         }

         private void numericUpDown5_ValueChanged(object sender, EventArgs e)
         {
             if (NumUpDown5Change != null)
             {
                 NumUpDown5Change(this, EventArgs.Empty);
             }
         }

         private void numericUpDown6_ValueChanged(object sender, EventArgs e)
         {
             if (NumUpDown6Change != null)
             {
                 NumUpDown6Change(this, EventArgs.Empty);
             }
         }

    }
}
